package com.galangel.bookservice.domain.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 书籍与标签关联表
 * </p>
 *
 * @author galangel
 * @since 2025-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("book_tag")
@ApiModel(value="BookTag对象", description="书籍与标签关联表")
public class BookTag implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关联book_info.isbn")
    @TableId(value = "isbn", type = IdType.AUTO)
    private String isbn;

    @ApiModelProperty(value = "关联tag.tag_id")
    private Integer tagId;


}
